Fitting 5 folds for each of 8 candidates, totalling 40 fits
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean .....
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean, score=0.821229 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean .....
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean, score=0.803371 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean .....
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean, score=0.797753 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean .....
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean, score=0.876404 - 0.2s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean .....
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=mean, score=0.837079 - 0.3s
[Parallel(n_jobs=1)]: Done 1 jobs | elapsed: 0.3s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median ...
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median, score=0.821229 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median ...
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median, score=0.792135 - 0.3s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median ...
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median, score=0.814607 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median ...
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median, score=0.848315 - 0.3s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median ...
[GridSearchCV] clf__max_features=0.5, clf__max_depth=5, imp__strategy=median, score=0.825843 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean .......
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean, score=0.843575 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean .......
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean, score=0.775281 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean .......
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean, score=0.747191 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean .......
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean, score=0.842697 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean .......
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=mean, score=0.820225 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median .....
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median, score=0.849162 - 0.2s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median .....
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median, score=0.769663 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median .....
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median, score=0.752809 - 0.2s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median .....
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median, score=0.837079 - 0.2s
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median .....
[GridSearchCV] clf__max_features=1, clf__max_depth=5, imp__strategy=median, score=0.820225 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean ..
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean, score=0.837989 - 0.5s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean ..
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean, score=0.808989 - 0.4s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean ..
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean, score=0.797753 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean ..
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean, score=0.825843 - 0.3s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean ..
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=mean, score=0.842697 - 0.4s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median, score=0.832402 - 0.5s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median, score=0.797753 - 0.5s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median, score=0.786517 - 0.4s
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median, score=0.792135 - 0.4s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median
[GridSearchCV] clf__max_features=0.5, clf__max_depth=None, imp__strategy=median, score=0.859551 - 0.4s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean ....
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean, score=0.810056 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean ....
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean, score=0.797753 - 0.4s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean ....
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean, score=0.758427 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean ....
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean, score=0.814607 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean ....
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=mean, score=0.831461 - 0.3s
[Parallel(n_jobs=1)]: Done 32 jobs | elapsed: 9.7s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median ..
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median, score=0.821229 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median ..
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median, score=0.786517 - 0.3s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median ..
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median, score=0.758427 - 0.3s
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median ..
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median, score=0.803371 - 0.3s
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
/Users/savarin/anaconda/envs/py27/lib/python2.7/site-packages/sklearn/preprocessing/imputation.py:307: DeprecationWarning: using a boolean instead of an integer will result in an error in the future
median[np.ma.getmask(median_masked)] = np.nan
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median ..
[GridSearchCV] clf__max_features=1, clf__max_depth=None, imp__strategy=median, score=0.859551 - 0.3s
[Parallel(n_jobs=1)]: Done 40 out of 40 | elapsed: 12.0s finished
Out[15]:
GridSearchCV(cv=5,
estimator=Pipeline(steps=[('imp', Imputer(axis=0, copy=True, missing_values=-1, strategy='mean', verbose=0)), ('clf', RandomForestClassifier(bootstrap=True, compute_importances=None,
criterion='gini', max_depth=None, max_features='auto',
min_density=None, min_samples_leaf=1, min_samples_split=2,
n_estimators=100, n_jobs=1, oob_score=False, random_state=None,
verbose=0))]),
fit_params={}, iid=True, loss_func=None, n_jobs=1,
param_grid={'clf__max_features': [0.5, 1], 'clf__max_depth': [5, None], 'imp__strategy': ['mean', 'median']},
pre_dispatch='2*n_jobs', refit=True, score_func=None, scoring=None,
verbose=3)